package net.zozoo.ioc.di2;

import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestDept {
    @Test
    public void testList() {
        ApplicationContext context = new ClassPathXmlApplicationContext("dept-di-list.xml");
        Dept dept = (Dept) context.getBean("dept");
        System.out.println(dept);
    }
}
